package com.sinog.biz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @desc 预安置人员数据录入中间库数据库配置 - 配置
 * @author lzq
 * @date 2020-10-16 2:01 下午
 */
@ConfigurationProperties(prefix = "spring.shadow")
@Component
@Data
public class DataBase4Properties {

    private String driverClassName;
    private String url;
    private String username;
    private String password;
    private Integer minimumIdle;
    private Integer maximumPoolSize;
    private boolean autoCommit;
    private Long idleTimeout;
    private String poolName;
    private Integer maxLifetime;
    private Integer connectionTimeout;
    private String connectionTestQuery;
}